package com.ruoyi.apis.repository;

import com.ruoyi.apis.entity.BannerEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author Choi
 * @Date 2021/7/19
 */


public interface BannerRepository extends JpaRepository<BannerEntity, Long> {

    List<BannerEntity> findAllByOrderBySortAsc();
}
